<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>药物盘点界面操作</title>
</head>
<body>
	<div style="height: 100%; width: 100%">
		<table style="width: 100%; height: 40%">
			<tr>
				<td style="padding-left:20px"><span class="pandian_lists">盘点编号* </span><input
					class="easyui-textbox"
					data-options="readonly:true,prompt:'H123',width:164
						">
				</td>
				<td ><span>盘点人:</span> <select class="easyui-combotree"
					style="width: 200px;"
					data-options="url:'getDrugInventoryData_name',required:true,editable:true,method:'get',panelHeight:'auto'"></select></td>
			</tr>
			<tr>
				<td style="padding-left:20px">
					<span>盘点药房:</span>
					<select  class="easyui-combobox" data-options="panelHeight:'auto'" style="width:270px;">   
					    <option >门诊药房1</option>   
					    <option>门诊药房2</option>   
					    <option>门诊药房3</option>   
					    <option>门诊药房4</option>   
					    <option>门诊药房5</option>   
					</select>
				</td>
				<td>
					<span>盘点日期:</span>
					<input class="easyui-datebox" required="true" data-options="width:100">
				</td>  
			</tr>
			<tr>
				<td style="padding-left:20px">
					<span>
						药品分类:
					</span>
					<select class="easyui-combobox" data-options="panelHeight:'auto',width:164">
						<option>中药</option>   
					    <option>西药</option>   
					    <option>注射剂</option>   
					    <option>外用药</option>
					    <option>酊水</option>   
					    <option>卫材</option>   
					</select>
				</td>
				<td ><span>盘点药品名:</span> <select class="easyui-combotree"
					style="width: 200px;"
					data-options="url:'getDrugInventoryData_drug',
						required:true,
						editable:true,
						method:'get',
						panelHeight:'auto',
						prompt:'请输入药品名'"></select></td>
			</tr>
			<tr>
				<td>
					<a class="easyui-linkbutton" data-options="iconCls:'icon-search'">近期失效药品</a>
					<a class="easyui-linkbutton" data-options="iconCls:'icon-search'">药品数量不足</a>
				</td>
				<td style="padding-left:218px">
					<a class="easyui-linkbutton" data-options="iconCls:'icon-search'">查找</a>
				</td>
			</tr>
		</table>
		<table id="drugType_drugName" style="height:60%;width:100%" data-options="singleSelect:true"></table> 
	</div>
	<script>
	$(function(){
		$('#drugType_drugName').datagrid({ 
			title:'住院药房-药品', 
			rownumbers:true, 
			remoteSort:false, 
			nowrap:false, 
			fitColumns:true, 
			method:'get',
			url:'getSomeData1', 
			columns:[[ 
			{field:'drug_name',title:'药品名',width:150,sortable:true},
			{field:'drug_item_price',title:'单价',width:80,align:'right',sortable:false}, 
			{field:'drug_danwei',title:'单位',width:80,align:'right',sortable:false}, 
			{field:'drug_note',title:'药品备注',width:60,align:'center',sortable:false} 
			]], 
			groupField:'product_name', 
			view: groupview, 
			groupFormatter:function(value, rows){ 
			return value + ' - ' + rows.length + ' Item(s)'; 
			} 
			});
	});
</script>
</body>
</html>